package psn.qiuyiping.autocad.dxffile;

@SubClassName("AcDbText")
public class DxfTextBase extends DxfEntity {
    @DxfCode(11)
    double[] align_pt;
    @DxfCode(10)
    double[] base;
    @DxfCode(40)
    double height;
    @DxfCode(72)
    int hor_align;
    @DxfCode(51)
    double oblique;
    @DxfCode(50)
    double rotation;
    DxfTextStyle style;
    @DxfCode(1)
    String text;
    @DxfCode(71)
    int textFlag;
    @DxfCode(39)
    double thickness;
    @DxfCode(73)
    int ver_align;
    @DxfCode(41)
    double widthFactor;
    
    @DxfCode(7)
    public void readStyle(DxfProcessContext context, DxfData<String> item) {
        style = context.getFile().getTextStyle(item.getVal());
    }
}
